fix objdir for osx debug builds