fix build with debug wx libs in linux