Update make driver to include Linux -ldl workaround + CFLAGS/LDFLAGS separation