fix build error for ghc 7.6 or higher
suppress not export wanring