Adding move constructor to shared_library.