Fix files attribute to not include object files