HDFS-5642: prevent warning from passing -g compiler flag.