Allow cwd to be configured for compile
Merge pull request #27 from tschaub/relative

Allow cwd to be configured for compile.