Changed pragmas to be gcc compatible