Dirty fix for appdomain base directory