flags for gcc4.7 compiling