avoid complicated include path (for packaging)
prepare archive independance for packaging
build archive script