Gives library correct name when compiling with MinGW. This fixes #22