Fix library loading on Windows when not using a JAR