Fix for subdir-objects warning

Not sure if this is the right approach - basically copy files into the local directory before building.

Not sure if there's any versioning issues (eg. subdir objects not being supported in some cases), but it works locally.