Fixed some static analysis error of nmake. both kmk and nmake works.