build and install static oks library