Add function to determine config dir at run time
Use the (more standard??) PATH_MAX and initialize array