Fix *_DIR variables for windows