Fix the compositeAlign flag in the alignment driver to correctly switch on/off the usage of global structures