make attribute work again with gcc...

this slipped in without the necessary ifdef.