fixing issues building for blackberry10 on windows