alarm/xbmc-imx fix build on wandboard. Add small patch to work around xbmc-imx6/xbmc#51