Fix compiler warnings.
Merge pull request #155 from nomad-software/fix-compiler-warnings

Fix compiler warnings.