test:  build fails with undefined reference error on gcc >=4.8

use -Wno-error=undefined-reference