changes to Shrdlite to make it compile