advpack.c must be compiled with optimization?