Fixed some errors. -Wall and -Werror should be turned on!
Removed build files from commit