Fix functions still appearing in outer DLL's exports for static build