Enhance and clear the support of linker flags