Replace dirty shared library linkage with proper Makefile components