See https://github.com/twpayne/pake
This removes the dependencies on make, sh and curl for building ol3.