AGM_Core: Fixed some sintax errors (missing semi-colons and duplicated defines) that made AGM_Core unable to be packed using pboProject.