Remove pragmas to avoid warnings in g++