Generate shared libs