Better dependencies for ConfiguredSequence.h
When editing the sequence, cmake needed to be rerun to pick up the changes. This should fix that.
ConfiguredSequence.h is also moved to the build directory to ensure builds with different sequences always build with the same sequence.