Fix for Issue #30

Modified code to check for relative or absolute path for `compileDir`.