Automatic selection of -j build parameter