Define SHLIB_LD in terms of $CXX instead of g++