Fix unwanted dependency on scala reflect