Added some compiler flags to the new build system.