fixed packaging in release mode