add dependency
more compile adjustments