Make directory creation in object compilation more makey