Fixed Subproject Target Dependencies

A serialized project couldn't been deserialized properly, because the target was written, which caused a warning about an attempt to initialize an object with an unknown UUID.
@mrackwitz did you verify that Xcode sets the proxy (`dependency.target_proxy`) even if the target belongs to the same project and can be referenced directly (`dependency.target`)?