Checks environment before setting LD_LIBRARY_PATH

Since scl command is not available on localhost, script checks first if
we're on openshift environment to check and set the LD_LIBRARY_PATH