Fix compilation of 0.3

Had to make the following changes for mdp 0.3 to compile properly on openSUSE with somewhat stricter gcc settings.