fix lower-case macosx issue