SConstruct: Move pattern from externals to the environment

This means that different SConscripts can define different patterns.  In
particular, geode/SConstruct no longer needs a pattern that references tim.