Linux compile fixes

Couple of tiny fixes.