Correct code for MacOS - disable precompiled headers, remove boost::