Added some flags for older compilers