patched remaining compilation issues with unstarchHelpers.c