Correct install location for Ubuntu and OSX - fixes 491

Fixes #491.