Update dependency version

Add optimize to build options