Include climits and set default priority to INT_MAX in threads/thread.cc