tapir not working in osx

this fixes an issue with loading config files in OS X.