avoid loading the same native lib multiple times