fix make -j support, closes #46