Fix is_hardlink definition.

Reported by:	@gelraen