fix oid unit tests
create cmake build system