remap tmp to release for release build