only run 'make ptcheck' if multithreaded support is enabled