Added a helper method to return the compiler work dir
Performance optimizations for resource lookup