Update compile script

- Use OPENSHIFT_CARTRIDGE_SDK_BASH methods