convert all dpi adjustments to new code; move some inline functions out of WinUtil.h to WinUtil.cpp
fix typo in build.py