CMOS-compatible fabrication of metamaterial-based absorbers for the mid-IR spectral range