add support for using the gsed command under OSX while compiling android
this detects what system you run by looking under Linux
as far as I know the sed command is the only conflict, however, if more are found, then they can easily be defined