link against advapi32 on windows