set the default compiler flags before the user-supplied ones (so that optimization modes can be overrridden)
suppress compiler warning by GCC 4.4.3 with -O2