Removing duplicate object inclusion into static library