Minor fixup to the define name/logic

Signed-off-by: David Greaves <david.greaves@jollamobile.com>