Fix macro logic for gcc 5, thanks to Alex Lauser
for pointing this out.