add -fno-elide-constructors option to debug target