compile dynamic libs too, as default