Cleanup compiler flags etc.