Resolves issues so that brooklyn can now build from intellij