Add automake option for dynamic instrument