Fixes for lua regression tests.
Failures happen on systems with lib64 and lib/tri-pl-ets directories.
Fix for examples/subprojects: target install cannot be done in parallel without prior "all"
Fix support for COMPATLIB.
Objects for "features" should not be generated
outside compatibility library.