Fix setup for release build