recover test for GHC >= 706 

If we `--enable-tests` and have a GHC >= 706 the function `getExecutablePath'` doesn't have the necessary imports. I didn't find a reason why to constraint the import based on SPEC so I removed them. I could be wrong, so I want travis-ci first report any errors.