diff --git a/Makefile b/Makefile
index 57fbb3cb39fca2dd358b8b6d024cde491256551c..86e2b6573e037ff8301af7307e883c81b8179db0 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,9 @@ include ${FSLDIR}/etc/default.mk
 
 PROJNAME = film
 
-USRINCFLAGS = -I${INCDIR}/miscmaths -I${INCDIR}/utils -I${INCDIR}/newmat -I${INCDIR}/avwio -I${INCDIR}/libcprob
+USRINCFLAGS = -I${INCDIR}/miscmaths -I${INCDIR}/utils -I${INCDIR}/newmat -I${INCDIR}/avwio -I${INCDIR}/libprob
 
-LIBS = -lmiscmaths -lutils -lm -lnewmat -lavwio -lcprob
+LIBS = -lmiscmaths -lutils -lm -lnewmat -lavwio -lprob
 
 XFILES = film_gls contrast_mgr ttoz ftoz ttologp
 
diff --git a/gaussComparer.h b/gaussComparer.h
index 1d9bc1c7a6190cd0a5f3099978faa63015f332f1..2e287210940eb9682209f3b13c37097c69f60932 100644
--- a/gaussComparer.h
+++ b/gaussComparer.h
@@ -19,10 +19,7 @@
 #include "newmatio.h"
 #include "log.h"
 
-extern "C"
-{
 #include "libprob.h"
-};
 
 using namespace NEWMAT;
 using namespace MISCMATHS;