compile lib ok