Minor fixup to the define name/logic

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
Merge pull request #169 from lbt/master

Minor fixup to the define name/logic