Add autoSettings' to allow a dataDir to be passed

This is useful for making relocatable binaries.