Clean up gcc warnings