preprocessor buildfix for Mac

Change-Id: Iae181f230cf20651fc5820fe54c4ae493cfb67cb
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>