fix application for compiling without OpenMP