Fix GHC 7.6.3 build.

WARNING pragmas were in an unwanted place.