link directly with lib