ensure m/r lib included as dependencies