Fixing some issues with idea project gen.

1. By default, unchecking 'Use external build'
2. Fix issue with resource locations