Set language to C and added -fPIC to CPPFLAGS