Fixed cross compile collision on global variable (ARCHIVEDIR)