give a chance to choose PLATFORM

* give a chance to choose PLATFORM

* some tweaks when RUNTIME_LIBRARIES_ENVIRONMENT is empty