Small compile fixes spotted under Linux Mint 15 Mate