Fix includes, fix warnings, remove build directories from git