diff --git a/regression_test/compileonly/mfgen-xsd/Makefile b/regression_test/compileonly/mfgen-xsd/Makefile
index 2d71a236a6a6c53f8ec2b32e4bf7e6c3e48ded15..d5194a45ef6ff056c94ce37e01a36f0785fcc20a 100644
--- a/regression_test/compileonly/mfgen-xsd/Makefile
+++ b/regression_test/compileonly/mfgen-xsd/Makefile
@@ -27,7 +27,7 @@ endif
 
 CURRENT_DIR := $(shell pwd)
 
-LD_LIBRARY_PATH := $(LD_LIBRARY_PATH):$(CURRENT_DIR)/normal:$(CURRENT_DIR)/centralstorage
+LD_LIBRARY_PATH := $(LD_LIBRARY_PATH):$(CURRENT_DIR)/normal:$(CURRENT_DIR)/centralstorage:$(CURRENT_DIR)/bin:$(CURRENT_DIR)/top_bin:$(CURRENT_DIR)/centralstorage_bin:$(CURRENT_DIR)/normal_bin
 
 NORMAL_NORMAL_FILES := MainNormal.ttcn