[package] allow openssl to compile with ccache enabled (#4518)