[BUILD] Add archive build process to generic GCC rules