changed library to compile without ROCK toolchain