Remove #define loop from util.h

Replace the loop macro with while (true). The #define caused
problems for Qt.