diff --git a/Makefile.am b/Makefile.am
index a5ff9e0..5afdb7a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,6 +10,7 @@ SED_PROCESS = \
 	$(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
 	-e 's,@PACKAGE\@,$(PACKAGE),g' \
 	-e 's,@VERSION\@,$(VERSION),g' \
+	-e 's,@BINDIR\@,$(bindir),g' \
 	< $< > $@ || rm $@
 
 # Overwrite Python path
