Fixed NPE when resource dir is not specified
Upgraded to TypeScript plugin 2.2