Fix warning pragmas for gcc 4.4.3