Fix compiler warnings. Fixes #79