add object_directories target to ensure output directories exist