Fixed invalid default link switch for gcc/g++