Fix GPU detection