Fix build for the three devices