minor: Make the prev instance conditional on -fgeneric