Allow not building static libraries