BlackBerry sells five buildings and land to the University of Waterloo for $41 million