update build script for Ubuntu 14.04 LTS