Fix broken simulator build caused by commit 501dcf6121c510ba3c055bf2d55f46fb63f97248