replaced duplicate cloud files with symlinks and fixed compile errors (also in cloud)