Made defines be generated in a file for all OSes