Replace gcc with cc and make assembler work for OSX