Use platform specific file ending for library file