Fix build warning

Fix build warning in a backwards compatible way...