recover test for GHC >= 706

If we [code]--enable-tests[/code] and have a GHC >= 706 the function [code]getExecutablePath'[/code] 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.