improve os-binder's registerUserClass
register PLATFORM and RELEASE constants for OS scripts