Force platform environment variable

This forces the URL generation logic to be consistent across platforms.