Build fixes for GPU module.