server: rebuild for gcc