Fixed macro problem for files without package.