Fix for buildtypeid case mismatch