support "platform.system()" function on branch