junklib: O_LARGEFILE fix for bsd