missing includes in scalar fast_gamma