Fixed various issues found when installing on new Linux machine