Remove hooks and platforms directories from master