Fixed GetDefaultDir, default conf file name, and build names (was litecoind).
Fixed perms on build_detect_platform.