make the build system more sturdy, and stop assuming certain platforms will use certain tool chains