change cwd for the rake task depending on PE version