Added BlackBerry 10 and BlackBerry PlayBook detection to if_platform directive