Autoconf portability tweaks.

Use MKDIR_P and LN_S rather than their usual expansions.