On FX10 system, CXX linker is needed even if the code is written in C/Fortran.