adds conditional config based on platform (OSX, Linux), and whether env dir is present