build dynamic libs too