fix to correctly report errors while loading envdef file
Use default config file when not specified (fix #14)