Xcode generator bugfix

Quick-and-dirty fix for Xcode generator bug. Not meant to be merged ;)
It turns out that Xcode fails to building libraries with only object input files. It needs at least one source file. Any thoughts how this fix should be done right?