Fix debug build, and a BuildFE conversion mistake