Got rid of a couple compiler warnings when SUPPORT_HARD_LINKS is not