Fixed build errors from GCC 4.8.

GCC is very picky about attribute placement, obviously.