CB-5187: remove unused var os_platform