Changed test compile flags to compile definitions.