Changed ExternalProject to make the build cross-platform