fix rogeriopradoj/codeigniter-composer#6 for linux and osx

Based on the reply at https://stackoverflow.com/a/22084103/2009536