fix compile breakage with "make -j"