Enabled some build warnings
guard ghc-options with a version check

Don't have a convenient way to test, but I believe this fixes #6