Fixed dependencies building code