Update workdir.cpp
Merge pull request #590 from RobertBColton/master

Moved Preprocessor