Fix build errors

by YetAnotherForumUser