Improve COMPILE_SEPARATELY to supply optional compiler switches when link .o files
fix Issue 11931 - Linkers "Symbol Undefined" again with dmd HEAD when -g specified