[capsicum]: add a platform guard.