--- CMakeLists.txt.orig	2020-01-09 14:48:50.283063738 +0100
+++ CMakeLists.txt	2020-01-09 14:49:08.042614050 +0100
@@ -78,6 +78,7 @@
 expint_e1.c
 func_info.c
 functionals.c
+func_reference.c
 gga.c
 gga_c_am05.c
 gga_c_bcgp.c
@@ -296,7 +297,7 @@
     gen_funcidx/libxc_funcs.f90
 )
 set(raw_sources_list_f03
-    src/libxc_master.F03
+    src/libxc_master_F03.F90
 )
 
 # when headers namespaced, xc_version include in xc.h needs to be local, not
