Fix for Issue #30

Modified code to check for relative or absolute path for "compileDir".
Merge pull request #33 from arjansingh/patch-1

Fix for Issue #30