Use platform specific file ending for library file

Now against the development branch