Fixed some compilation errors that popped up.