Fix Pygscan.hs to work better with ghc-mod