fixed for ghc 7.6.3
Merge pull request #1 from tatac1/develop

Fix compile error for GHC 7.6.3