compile libs