Build otlib with cmake