Fix build on asserts

Change-Id: Ia28b014ac029a8c8011ab5535aeaea215199c01f