Changes needed to run on Cloud Foundry.