make us build semi-static libraries, add git hash