Revert "scons: use VariantDir to avoid 'Two environments with different actions' error when building both cpp_tests and with PLUGIN_LINKING=static"

This reverts commit 2393453765cc9c96de0c0c5bce98984b5ef09f32.