Adding abstraction of dynamic libs and implementation on Unix