Use .lib instead of lib.