Try to make perl work on mac with windows specific stuff