Changed reference to get project directory from getRootDIr() to getProjectDir()

This will allow sub-projects to work as the reference to the javacc source folder is from the project
directory and not the root directory of the multi-project setup.