buildenv/1.2.x/osx: convert to new-style build system.