Fix build with Luna platform requirement