Use project buildtype if available or use default buildtype