Fixed bug with incorrect compiler.

Compiler string can contain dashes, for example ```eabi-gcc3```