diff --git a/neercs/Makefile.am b/neercs/Makefile.am
index 01d6e1a..9e4600e 100644
--- a/neercs/Makefile.am
+++ b/neercs/Makefile.am
@@ -22,9 +22,9 @@ neercs_SOURCES = \
video/text.lolfx
neercs_CPPFLAGS = @LOL_CFLAGS@ @CACA_CFLAGS@ -Iold
neercs_LDADD =
-neercs_LDFLAGS = $(top_builddir)/src/liblol.a \
+neercs_LDFLAGS = @LOL_STATIC_LIBS@ \
@LOL_LIBS@ @CACA_LIBS@ @UTIL_LIBS@ @PAM_LIBS@
-neercs_DEPENDENCIES = $(top_builddir)/src/liblol.a
+neercs_DEPENDENCIES = @LOL_STATIC_LIBS@
old_sources = \
old/actions.c \
diff --git a/neercs/neercs.vcxproj b/neercs/neercs.vcxproj
index 6e5d829..96dc71f 100644
--- a/neercs/neercs.vcxproj
+++ b/neercs/neercs.vcxproj
@@ -78,6 +78,7 @@
{9e62f2fe-3408-4eae-8238-fd84238ceeda}
+ {83d3b207-c601-4025-8f41-01dedc354661}
@@ -122,4 +123,4 @@
-
\ No newline at end of file
+