remove unconditional avx support, which breaks on older/virtual machines
add -rdynamic to allow loading .so lua libs from terra