just ldflag changes so that it compiles fine on osx but still compilable on windows. Haven't tested linux side yet