add debug option: with-osx-apr