buildscripts/1.3.x: add buildenv build scripts for osx and centos-ermine.