Update build to use shared libs