Proper way to load typelib