Fix case for modules
Switch build system to CMake