build with latest gcc without errors