Fix scalac detection to actually use the located command instead of defaulting to 'scalac'