Adjust build system for running on ec2.