Fix non-GPU builds for bug introduced by 9a5e3ae