Use an automake variable for server building

Since automake knows all possible values of this variable
up front, it can determine what goes into DIST_SUBDIRS
automagically.
Merge pull request #1779 from rubenk/use-automake-variable-for-server-building

Use an automake variable for server building