Generic instead of Object in Native#loadLibrary

A litle bit more comfortable.
No need to cast instance of Library mannually.