Fix problem that symbolic links (e.g. 'view') is not created