First attempt to adapt the build scripts for the other platforms. refs #818