Added workaround old implementation of rotateN that is still present in ubuntu 14.04 packages