fix logging system a bit and fix error in default compiling pulling in all options