Remove c++11 flag.
Use dy and dz as well.