fix support for mac (system perl on mac have issues with $_)