Fixed build configuration for TonicTests