recover test for GHC >= 706 

If we `--enable-tests` and have a GHC >= 706 the function `getExecutablePath'` doesn't have the necessary imports. I could be wrong, so I want travis-ci first report any errors.