Added support for building of OALplus into a lib