Use MT/MTd when building static library