Fix broken symlink.
Only build examples if the necessary platform component is build.