Fix --with-spinlock=gcc configuration.