fix for compilation with external jar on windows machines