Use -fvisibility=hidden in libs debug builds