Change sxc_set_confdir() function to return error code when it did not succeed.
Fix sxc_set_alias function.