Completely get rid of getdwmpath() and unneeded includes