added -Wl flag to makefile.config