buildsystem: Don't force main to depend on everything else.

Directory 'main' only needs to depend on embedded modules. If no
module embedding is selected, the dependency is dropped.

Review: https://reviewboard.asterisk.org/r/3212/


git-svn-id: http://svn.asterisk.org/svn/asterisk/branches/1.8@408083 f38db490-d61c-443f-a65b-d21fe96a405b