build.sh fixes/workaround for linux/mac.

Pull request with fix for issue https://github.com/fsprojects/FSharp.ProjectScaffold/issues/50.