Fix two Spark7162 build errors