Fixed: platform.h include was missing from constants.h