buildscripts/1.2.x: add osx and centos-ermine build scripts.