diff --git a/Makefile b/Makefile
index 3156300e91bf947db039cbb776dcf6d8d3decb79..cff98f9f06a958effad0259091c0174c7d5522a4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.464 2008-02-06 07:33:49 geuzaine Exp $
+# $Id: Makefile,v 1.465 2008-02-06 08:51:20 geuzaine Exp $
 #
 # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
 #
@@ -83,6 +83,7 @@ install-lib: lib
 	mkdir -p ${includedir}/gmsh
 	rm -f ${includedir}/gmsh/*
 	cp -f ${GMSH_API} ${includedir}/gmsh
+	mkdir -p ${libdir}
 	cp -f bin/libGmsh${LIBEXT} ${libdir}
 
 embed:
diff --git a/variables.msvc b/variables.msvc
index 7f85268b45a8acedaaf2848eb61971e82a7cf449..b56ff698a5d8b0782afd9aa542902a0ba592efd0 100644
--- a/variables.msvc
+++ b/variables.msvc
@@ -3,8 +3,8 @@
 # building instructions.
 
 # OS and host
-UNAME=VisualC++
-HOSTNAME=win
+UNAME=WIN32MSVC
+HOSTNAME=localhost
 
 # The names of the C and C++ compilers
 CC=cl