Make sure directory for object files exists and create one if does not.