supporting running on cpu when not compiled