COMP: Fixing issue with building shared libs on windows