Fixed deleting removed symlinks on OS X

Signed-off-by: Oleg Bulatov <oleg@bulatov.me>