Fix HR conversion, add post-build event to copy dll