only ios does local require(), fixes #83