Fix explicit library extension

Without this change, doing an "is native('libz.so.1')" results in the error "Cannot unbox a type object as a native str"