Use @MKDIR_P@ instead of $(MKDIR_P), since automake < 1.10 doesn't the MKDIR_P variable of autoconf >= 2.60.