Base: Improve building for Blackberry 10