change warning flags, add minor missing include