Don't rmdir the destination directory if it's a symlink during "make install-data-hook"

This fixes a build error on linux during subsequent "make install" runs after the first "make install" succeeds