Mld fixes

A few quick fixes that will help OSX users (among others). I'm going to push these into gr-modtool too.