Compile fixes

These are some minor fixes to help crashdumper build in some environments ;)