fix warnings
clone source files for compilation so they are isolated from other
sources