Update for ubuntu trusty, also prevent multiple builds from executing at once