fix preadv64 if missing