added libtools support