Set requireHaskellPlatform more intelligently