Automatically copy headers

Copy the BareMetal headers in the new lib folder and pre-compile.