Fix bug with config.release always being false