Fixed bug with incorrect compiler.

Compiler string can contain dashes, for example ```eabi-gcc3```
Indeed good catch. When I looked at [TARGET_COMPILER_ABI](https://developer.mozilla.org/en-US/docs/XPCOM_ABI) I have seen that it is the rest of the string after the first dash. So why not simply using `.split(/-(.*)$/)[1]`? It's a regex with some extra costs, but we save a splice() and join() operation.