don't require 'make samples' to require code to be built (issue #4997)