Cleaned up GPU-mode compile process