Fix warnings when compiling without threads