-D parameters before -files. Contributed by Xuan Gong (cherry picked from commit 0bf333911c950f22ec0f784bf465306e20b0d507)