win: added portable functions in paths
win32: works with openblas