Trying with CXX flags as well as LD flags