issue #578 try adding .cpi extension on Mac if not present