Fixing external builds with new HPX_PREFIX handling