fa/CMakeLists.txt: reorder CMake statements

... such that CMake variables are not used before they are initialized.
This fixes an incomplete substitution in the fa_build/register-paths.sh
script.
register-paths.sh.in: do not exit the current shell

... by mistake if sourced from zsh