get version without grep -P flag; switch to the existing win32/config.h
MAX_PATH fix