Fix library loading in windows
Fix base paths in windows