fix for linking embedding example on windows