Fix debug postfix problem. Cache library paths used by other modules for safety.