[Fix #177] Initialize hooks in projectile-mode's definition