fix libs: bugfix for when eggdir isn't present