Add debug out for static builds.