Remove platforms and hooks directories from repo