diff --git a/Makefile.am.in b/Makefile.am.in
index 72509f63a74f18af95421ec9b259b29e9e3120f1..3d45005b13c0b9c88a59236c8d0addaf8a1bc564 100644
--- a/Makefile.am.in
+++ b/Makefile.am.in
@@ -8,8 +8,11 @@ AUTOMAKE_OPTIONS = foreign
 noinst_LIBRARIES = libsymmetric.a
 noinst_PROGRAMS = desTest desdata bf_test
 
+# FIXME: Use the BASH variable to execute the script. The problem is
+# that the script attempts to start itselt with "$0 args".
+
 Makefile.am: Makefile.am.in
-	(cd $(top_srcdir); $(BASH) make_am)
+	(cd $(top_srcdir); ./make_am)
 
 # When compiling with lsh, this is set to to -DLSH -I/path/to/lsh/include
 # INCLUDES = @crypto_cpp_flags@
diff --git a/include/Makefile.am.in b/include/Makefile.am.in
index 1f8c13602a17d86950e9fd9c1034f60c3f1df298..4bf06a1862678ad22e4bef9d09a716193b4e67b1 100644
--- a/include/Makefile.am.in
+++ b/include/Makefile.am.in
@@ -4,6 +4,9 @@ BODY:
 
 EXTRA_DIST = $(cvs_headers) Makefile.am.in
 
+Makefile.am: Makefile.am.in
+	(cd $(top_srcdir); ./make_am)
+
 .PHONY: ctags-recursive ctags
 
 ctags-recursive: