-Fix some compilation errors