Bugfixes on thread safety and build system