use static lib instead of OBJECT feature, which requires cmake ver >= 2.8.8