Fix some *nix compiler errors.
Merge pull request #343 from dpogue/linux-fix

Fix some *nix compiler errors.