Fix Flags to compile with gcc 4.9 and graphite