fixes for Delite to compile