IIF is only available on Azure and SQL 2012.  

I know of at least 1 production deployment of Jabbr that uses SQL 2008 R2 (plus my local machine uses it too), so I didn't want to drop that compatibility at this stage (not that I'm particularly married to it working on older infrastructure...)