fixing build error on object files