Fixed download bug where crc would be loaded incorrectly from xml due to compiler optimisation #736
Updated to use lock_guard
Fixed bug in debug trying to launch wrong exe name for tool installs