better build for dyn modules