fix add_dependencies for empty export targets
Merge pull request #2 from dirk-thomas/master

fix add_dependencies for empty export targets