dll packaging fix, logging