Implementing support for static binding of library