added os_get_home_path and os_mkdir to osx cocoa platform