Fixed some minor compilation bugs that were the result of strict error checking.