[bad] otapi basic integration, bad cmake (linking otlibapi)