Fix release build of test apps.