Force static library on unittest