update build script for Docker 1.4