add hooks for marking dynamically loaded library that are already loaded
--
--