Fix output dir for third party libs.