Fixed static access to lib handle.