add option for compiling on ec2