fix compiling issues and reupdate repo files