Simplified detection of BlackBerry project type

And also ensuring, if any NDK is selected.