fixed scripts to compile correctly (essentially forgot WITH_TYPE_PREFIX)