Allow setting EP_PREFIX in 3rdparty
Some 3rdparty external projects (Qt specificly is troublesome) might
encounter errors related to paths being too long. This commit allows a
shorter prefix to be used by external projects to work around the issue.