Fixed linux compilation.
Support running stk from the cmake bin directory.