Some warning fixes on linux.