fix to the smoke test script for release builds