remove PLATFORM_PKGTYPE from CPPFLAGS