fix some build issues

discovered by building without the IE9 headers