autotools and Xcode changes

known issue: the `p_mkdir` compatibility wrapper around `mkdir` doesn't
work properly with the MKDIR_TAKES_ONE_ARG autoconf macro