cmake: Do not export targets when installing toolchain only

Patch by Brad King!