Fixed php build for other platforms again