Fix install prefix directories

Fix for the megabug #160.